package cn.ruleengine.web.util;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

/**
 * @author xianrensawang
 * @date 2021/6/8
 */
public final class SnowIdUtils {

    private static final Snowflake snowflake = IdUtil.getSnowflake(1,1);

    public static Long nextId(){
        return snowflake.nextId();
    }
}
